//Color.h
//Color Class Linker
/*
Nathan Currier / Rideliner
	nathan.currier@gmail.com
	rideliner.uni.cc
ColorCoded
	http://code.google.com/p/colorcoded/
*/

/* Color Class
!!! _* is the name of the Color object
!!! __* is an alternate Color object

Define:
	Color _*;
Set Constructor:
	Color _*(string, string);
Copy Constructor:
	Color _*(&Color);
Set:
	_*.set(string, string);
Copy:
	_* = __*;
Split the Hex:
	_*.split_hex(string);
Get the Name & Code:
	_*.get_back(&string, &string);
Get the Split Code:
	string = _*.get_split();
Get the Name:
	string = _*.get_name();
Get the Code:
	string = _*.get_code();
Get the Decimal of the Code:
	string = _*.get_dec();
Get the Inverse of the Code:
	string = _*.get_inverse();
Destructor: (Virtual)
	~_*;
*/

#ifndef _COLOR_
#define _COLOR_

#include <string>
#include <cstdio>
using namespace std;

class Color
{
	string _name, _code;
	string _hexa, _hexb, _hexc;

public:
	Color(void);
	void split_hex(string);
	Color(string, string);
	Color(const Color&);
	void set(string, string);
	void get_back(string&, string&);
	void get_split(string&, string&, string&);
	string get_split();
	string get_name(void);
	string get_code(void);
	~Color(void);
};

#endif //_COLOR_